﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Battle.Net.Model
{
    public class CachedResponse
    {

        [Required]
        [Key]
        [Column(TypeName = "nvarchar")]
        [MaxLength(1024)]
        public string Request { get; set; }

        [Required]
        [Column(TypeName = "nvarchar(MAX)")]
        public string Response { get; set; }

        [Required]
        public DateTime DateRequested { get; set; }
    }
}
